import java.util.Scanner;

public class if5 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in, "GBK");

        System.out.println("请输入身高（cm）：");
        int height = scanner.nextInt();

        System.out.println("请输入财富（千万）：");
        double wealth = scanner.nextDouble();

        System.out.println("请输入是否帅（是/否）：");
        String handsome = scanner.next();

        if (height >= 180 && wealth >= 1 && "是".equals(handsome)) {
            System.out.println("一定要嫁给他!!!");
        } else if (height >= 180 || wealth >= 1 || "是".equals(handsome)) {
            System.out.println("嫁吧，比上不足，比下有余。");
        } else {
            System.out.println("不嫁！");
        }
    }
}
